package com.ttbj.product.bean.dto;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

@JsonInclude(Include.NON_NULL)
public class DriverDto implements Serializable{
	 
	private static final long serialVersionUID = -6608542431633094174L;
	
    private String driverNewPwd;
    
    private String driverNewToken;
    
    private String driverNewName;
    
    private String driverNewPhone;
    
    private Long driverId;

    private String driverNum;

    private String driverRealName;

    private String driverName;

    private String driverPic;

    private String driverPwd;

    private String driverAge;

    private String driverLicence;

    private String driverIdcard;

    private String driverUpdateTime;

    private String driverInsTime;

    private Integer driverIsDelete;

    private String driverToken;

    private Integer driverIsVerify;

    private String driverRegistId;

    private String driverPhone;

    private Integer driverIsShort;

    private Long driverTruck;

    private String driverLicencePic;

    private Integer driverToExamine;

    private Integer driverFlag;

    private String driverVehiclePic;

    private String driverIdcardPicFront;

    private String driverIdcardPicReverse;

    private String driverAccType;

    private String driverAccBank;

    private String driverCardNo;

    private String driverCardName;

    private String driverMobileNo;

    private String driverAccountNo;

    private String driverAccIdcard;

    private String driverWdPassword;
    
    private Integer driverIsCompany;
    
    private String driverEntity;
    
    private Long waybillId;
    
    private TruckDto truck;
    
    private Integer driverAllowWaybill;
    
    private String driverCarnum;
    
    
    public String getDriverCarnum() {
		return driverCarnum;
	}

	public void setDriverCarnum(String driverCarnum) {
		this.driverCarnum = driverCarnum;
	}

	public Integer getDriverAllowWaybill() {
		return driverAllowWaybill;
	}

	public void setDriverAllowWaybill(Integer driverAllowWaybill) {
		this.driverAllowWaybill = driverAllowWaybill;
	}

	public TruckDto getTruck() {
		return truck;
	}

	public void setTruck(TruckDto truck) {
		this.truck = truck;
	}

	public Long getWaybillId() {
		return waybillId;
	}

	public void setWaybillId(Long waybillId) {
		this.waybillId = waybillId;
	}

	public String getDriverEntity() {
		return driverEntity;
	}

	public void setDriverEntity(String driverEntity) {
		this.driverEntity = driverEntity;
	}

	public Integer getDriverIsCompany() {
		return driverIsCompany;
	}

	public void setDriverIsCompany(Integer driverIsCompany) {
		this.driverIsCompany = driverIsCompany;
	}
	

	public DriverDto() {}
	
	public DriverDto entity(String entityName){
		this.driverEntity = entityName;
		return this;
	}
    
    public DriverDto(Long driverId, Long driverTruck) {
		super();
		this.driverId = driverId;
		this.driverTruck = driverTruck;
	}

	public DriverDto(String driverNum, String driverName, String driverInsTime, String driverToken, String driverPhone ) {
		super();
		this.driverNum = driverNum;
		this.driverName = driverName;
		this.driverInsTime = driverInsTime;
		this.driverToken = driverToken;
		this.driverPhone = driverPhone;
	}
	
	public DriverDto truckId(Long truckId) {
		 this.driverTruck = truckId;
		return this;
	}
	
    public DriverDto driverFlag(Integer driverFlag){
    	this.driverFlag = driverFlag;
    	return this;
    }
    
    public DriverDto phone(String phone){
    	this.driverPhone = phone;
    	return this;
    }
	public DriverDto(String token) {
		 this.driverToken = token;
	}
	public DriverDto(Long driverId) {
		 this.driverId  = driverId;
	}

	public DriverDto id(Long driverId) {
		this.driverId = driverId;
		return this;
	}

	public String getDriverNewName() {
		return driverNewName;
	}

	public void setDriverNewName(String driverNewName) {
		this.driverNewName = driverNewName;
	}

	public String getDriverNewPhone() {
		return driverNewPhone;
	}

	public void setDriverNewPhone(String driverNewPhone) {
		this.driverNewPhone = driverNewPhone;
	}

	public String getDriverNewPwd() {
		return driverNewPwd;
	}

	public void setDriverNewPwd(String driverNewPwd) {
		this.driverNewPwd = driverNewPwd;
	}

	public String getDriverNewToken() {
		return driverNewToken;
	}

	public void setDriverNewToken(String driverNewToken) {
		this.driverNewToken = driverNewToken;
	}

	public Long getDriverId() {
		return driverId;
	}

	public void setDriverId(Long driverId) {
		this.driverId = driverId;
	}

	public String getDriverNum() {
		return driverNum;
	}

	public void setDriverNum(String driverNum) {
		this.driverNum = driverNum;
	}

	public String getDriverRealName() {
		return driverRealName;
	}

	public void setDriverRealName(String driverRealName) {
		this.driverRealName = driverRealName;
	}

	public String getDriverName() {
		return driverName;
	}

	public void setDriverName(String driverName) {
		this.driverName = driverName;
	}

	public String getDriverPic() {
		return driverPic;
	}

	public void setDriverPic(String driverPic) {
		this.driverPic = driverPic;
	}

	public String getDriverPwd() {
		return driverPwd;
	}

	public void setDriverPwd(String driverPwd) {
		this.driverPwd = driverPwd;
	}

	public String getDriverAge() {
		return driverAge;
	}

	public void setDriverAge(String driverAge) {
		this.driverAge = driverAge;
	}

	public String getDriverLicence() {
		return driverLicence;
	}

	public void setDriverLicence(String driverLicence) {
		this.driverLicence = driverLicence;
	}

	public String getDriverIdcard() {
		return driverIdcard;
	}

	public void setDriverIdcard(String driverIdcard) {
		this.driverIdcard = driverIdcard;
	}

	public String getDriverUpdateTime() {
		return driverUpdateTime;
	}

	public void setDriverUpdateTime(String driverUpdateTime) {
		this.driverUpdateTime = driverUpdateTime;
	}

	public String getDriverInsTime() {
		return driverInsTime;
	}

	public void setDriverInsTime(String driverInsTime) {
		this.driverInsTime = driverInsTime;
	}

	public Integer getDriverIsDelete() {
		return driverIsDelete;
	}

	public void setDriverIsDelete(Integer driverIsDelete) {
		this.driverIsDelete = driverIsDelete;
	}

	public String getDriverToken() {
		return driverToken;
	}

	public void setDriverToken(String driverToken) {
		this.driverToken = driverToken;
	}

	public Integer getDriverIsVerify() {
		return driverIsVerify;
	}

	public void setDriverIsVerify(Integer driverIsVerify) {
		this.driverIsVerify = driverIsVerify;
	}

	public String getDriverRegistId() {
		return driverRegistId;
	}

	public void setDriverRegistId(String driverRegistId) {
		this.driverRegistId = driverRegistId;
	}

	public String getDriverPhone() {
		return driverPhone;
	}

	public void setDriverPhone(String driverPhone) {
		this.driverPhone = driverPhone;
	}

	public Integer getDriverIsShort() {
		return driverIsShort;
	}

	public void setDriverIsShort(Integer driverIsShort) {
		this.driverIsShort = driverIsShort;
	}

 

	public Long getDriverTruck() {
		return driverTruck;
	}

	public void setDriverTruck(Long driverTruck) {
		this.driverTruck = driverTruck;
	}

	public String getDriverLicencePic() {
		return driverLicencePic;
	}

	public void setDriverLicencePic(String driverLicencePic) {
		this.driverLicencePic = driverLicencePic;
	}

	public Integer getDriverToExamine() {
		return driverToExamine;
	}

	public void setDriverToExamine(Integer driverToExamine) {
		this.driverToExamine = driverToExamine;
	}

	public Integer getDriverFlag() {
		return driverFlag;
	}

	public void setDriverFlag(Integer driverFlag) {
		this.driverFlag = driverFlag;
	}

	public String getDriverVehiclePic() {
		return driverVehiclePic;
	}

	public void setDriverVehiclePic(String driverVehiclePic) {
		this.driverVehiclePic = driverVehiclePic;
	}

	public String getDriverIdcardPicFront() {
		return driverIdcardPicFront;
	}

	public void setDriverIdcardPicFront(String driverIdcardPicFront) {
		this.driverIdcardPicFront = driverIdcardPicFront;
	}

	public String getDriverIdcardPicReverse() {
		return driverIdcardPicReverse;
	}

	public void setDriverIdcardPicReverse(String driverIdcardPicReverse) {
		this.driverIdcardPicReverse = driverIdcardPicReverse;
	}

	public String getDriverAccType() {
		return driverAccType;
	}

	public void setDriverAccType(String driverAccType) {
		this.driverAccType = driverAccType;
	}

	public String getDriverAccBank() {
		return driverAccBank;
	}

	public void setDriverAccBank(String driverAccBank) {
		this.driverAccBank = driverAccBank;
	}

	public String getDriverCardNo() {
		return driverCardNo;
	}

	public void setDriverCardNo(String driverCardNo) {
		this.driverCardNo = driverCardNo;
	}

	public String getDriverCardName() {
		return driverCardName;
	}

	public void setDriverCardName(String driverCardName) {
		this.driverCardName = driverCardName;
	}

	public String getDriverMobileNo() {
		return driverMobileNo;
	}

	public void setDriverMobileNo(String driverMobileNo) {
		this.driverMobileNo = driverMobileNo;
	}

	public String getDriverAccountNo() {
		return driverAccountNo;
	}

	public void setDriverAccountNo(String driverAccountNo) {
		this.driverAccountNo = driverAccountNo;
	}

	public String getDriverAccIdcard() {
		return driverAccIdcard;
	}

	public void setDriverAccIdcard(String driverAccIdcard) {
		this.driverAccIdcard = driverAccIdcard;
	}

	public String getDriverWdPassword() {
		return driverWdPassword;
	}

	public void setDriverWdPassword(String driverWdPassword) {
		this.driverWdPassword = driverWdPassword;
	}

	@Override
	public String toString() {
		return "DriverDto [driverNewPwd=" + driverNewPwd + ", driverNewToken=" + driverNewToken + ", driverNewName=" + driverNewName + ", driverNewPhone=" + driverNewPhone + ", driverId=" + driverId + ", driverNum=" + driverNum + ", driverRealName=" + driverRealName + ", driverName=" + driverName
				+ ", driverPic=" + driverPic + ", driverPwd=" + driverPwd + ", driverAge=" + driverAge + ", driverLicence=" + driverLicence + ", driverIdcard=" + driverIdcard + ", driverUpdateTime=" + driverUpdateTime + ", driverInsTime=" + driverInsTime + ", driverIsDelete=" + driverIsDelete
				+ ", driverToken=" + driverToken + ", driverIsVerify=" + driverIsVerify + ", driverRegistId=" + driverRegistId + ", driverPhone=" + driverPhone + ", driverIsShort=" + driverIsShort + ", driverTruck=" + driverTruck + ", driverLicencePic=" + driverLicencePic + ", driverToExamine="
				+ driverToExamine + ", driverFlag=" + driverFlag + ", driverVehiclePic=" + driverVehiclePic + ", driverIdcardPicFront=" + driverIdcardPicFront + ", driverIdcardPicReverse=" + driverIdcardPicReverse + ", driverAccType=" + driverAccType + ", driverAccBank=" + driverAccBank
				+ ", driverCardNo=" + driverCardNo + ", driverCardName=" + driverCardName + ", driverMobileNo=" + driverMobileNo + ", driverAccountNo=" + driverAccountNo + ", driverAccIdcard=" + driverAccIdcard + ", driverWdPassword=" + driverWdPassword + ", driverIsCompany=" + driverIsCompany
				+ ", driverEntity=" + driverEntity + ", waybillId=" + waybillId + ", truck=" + truck + ", driverAllowWaybill=" + driverAllowWaybill + ", driverCarnum=" + driverCarnum + "]";
	}

	public DriverDto isCompany(Integer driverIsCompany) {
		this.driverIsCompany = driverIsCompany;
		return this;
	}
    
}
